package com.ly.dao;

import com.ly.entity.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface UserRoleDao {
    void insert(UserRole userRole);
    void updateById(UserRole userRole);
    UserRole selectById(Integer id);
    List<UserRole> selectAll(UserRole userRole);
    void deleteById(Integer id);
    UserRole queryByAll(UserRole userRoleQuery);
    void delBatchByIds(@Param("ids") List<Integer> ids);
}
